import React from 'react'

export default function ChildB({person}) {
  const {name, age} = person
  return (
    <div>ChildB
      <h4>renderProps接受到的参数</h4>
      <ul>
        <li>姓名: {name}</li>
        <li>年龄: {age}</li>
      </ul>

    </div>
  )
}
